Skip to content

Avoid errors when running headless#2674

Merged
iloveeclipse merged 2 commits into
eclipse-platform:masterfrom
trancexpress:gh2673
Jun 1, 2026
Merged

Avoid errors when running headless#2674
iloveeclipse merged 2 commits into
eclipse-platform:masterfrom
trancexpress:gh2673

Conversation

@trancexpress
Copy link
Copy Markdown
Contributor

This change adjusts several classes to handle headless state, i.e. when the workbench is not available. The respective operations now do nothing without a workbench, instead of throwing exceptions.

Fixes: #2673

@trancexpress trancexpress requested a review from iloveeclipse May 26, 2026 16:06
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 26, 2026

Test Results

    54 files  ±0      54 suites  ±0   35m 52s ⏱️ -7s
 4 667 tests ±0   4 645 ✅ ±0   22 💤 ±0  0 ❌ ±0 
11 895 runs  ±0  11 742 ✅ ±0  153 💤 ±0  0 ❌ ±0 

Results for commit 8edf4b0. ± Comparison against base commit f4bd413.

♻️ This comment has been updated with latest results.

@eclipse-platform-bot
Copy link
Copy Markdown
Contributor

eclipse-platform-bot commented May 31, 2026

This pull request changes some projects for the first time in this development cycle.
Therefore the following files need a version increment:

debug/org.eclipse.debug.ui/META-INF/MANIFEST.MF

An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch.

Git patch
From 692fdb8ae686c95c1ddbb1271bdd91340376c75b Mon Sep 17 00:00:00 2001
From: Eclipse Platform Bot <platform-bot@eclipse.org>
Date: Mon, 1 Jun 2026 08:55:46 +0000
Subject: [PATCH] Version bump(s) for 4.41 stream


diff --git a/debug/org.eclipse.debug.ui/META-INF/MANIFEST.MF b/debug/org.eclipse.debug.ui/META-INF/MANIFEST.MF
index 8c8a0b29b7..489122e563 100644
--- a/debug/org.eclipse.debug.ui/META-INF/MANIFEST.MF
+++ b/debug/org.eclipse.debug.ui/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: %pluginName
 Bundle-SymbolicName: org.eclipse.debug.ui; singleton:=true
-Bundle-Version: 3.21.0.qualifier
+Bundle-Version: 3.21.100.qualifier
 Bundle-Activator: org.eclipse.debug.internal.ui.DebugUIPlugin
 Bundle-Vendor: %providerName
 Bundle-Localization: plugin
-- 
2.54.0

Further information are available in Common Build Issues - Missing version increments.

trancexpress and others added 2 commits June 1, 2026 08:58
This change adjusts several classes to handle headless state,
i.e. when the workbench is not available. The respective operations
now do nothing without a workbench, instead of throwing exceptions.

Fixes: eclipse-platform#2673
@iloveeclipse iloveeclipse merged commit b12e26a into eclipse-platform:master Jun 1, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Workbench error when refactoring in headless mode

3 participants